package com.elh.serurity.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.elh.serurity.model.Role;
import com.elh.serurity.model.Users;

import java.util.List;

public interface UsersMapper extends BaseMapper<Users> {
    
    Users loadUserByUsername(String username);

    List<Role> getUserRolesByUid(Integer id);
}